import { POST } from '@/service/request.js'

export default {
    OrderIndex(data = {}) {
        return POST({
            url: '/order/index',
            params: data
        })
    },
    OrderAdd(data = {}) {
        return POST({
            url: '/order/add',
            params: data
        })
    },
    OrderAdds(data = {}) {
        return POST({
            url: '/order/adds',
            params: data
        })
    },
    OrderInfo(data = {}) {
        return POST({
            url: '/order/info',
            params: data
        })
    },
    OrderReceipt(data = {}) {
        return POST({
            url: '/order/receipt',
            params: data
        })
    },
    OrderExpress(data = {}) {
        return POST({
            url: '/order/express',
            params: data
        })
    },
    OrderRateinfo(data = {}) {
        return POST({
            url: '/order/rateinfo',
            params: data
        })
    },
    OrderRate(data = {}) {
        return POST({
            url: '/order/rate',
            params: data
        })
    },
    OrderRatesinfo(data = {}) {
        return POST({
            url: '/order/ratesinfo',
            params: data
        })
    },
    OrderRefund(data = {}) {
        return POST({
            url: '/order/refund',
            params: data
        })
    },
    OrderAddresslist(data = {}) {
        return POST({
            url: '/order/addresslist',
            params: data
        })
    },
    OrderExpresslist(data = {}) {
        return POST({
            url: '/order/expresslist',
            params: data
        })
    },
    OrderRefundgoods(data = {}) {
        return POST({
            url: '/order/refundgoods',
            params: data
        })
    },
}